package com.ecloud.trend.dao;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecloud.trend.entities.TdbDaily;
import com.ecloud.trend.entities.TdbTag;

import java.util.List;

/**
 * @author Squbi
 */
public interface TdbMapper extends BaseMapper<TdbDaily> {
    /**
     * 查询昨日的所有信息
     *
     * @return {@link TdbDaily}
     * @author Squbi
     * @date 2021/7/16 10:18
     */
    List<TdbDaily> selectYesterday();

    /**
     * 查询标签信息
     *
     * @param tagTypeValue tagType的值 0不限 1能耗 2状态 3监控
     * @return {@link TdbTag}
     * @author Squbi
     * @date 2021/7/23 14:16
     */
    List<TdbTag> selectTdbTags(int tagTypeValue);
}
